package org.j5108.entity;

import java.sql.Timestamp;

/**
 * Newsinfo entity. @author MyEclipse Persistence Tools
 */

public class Newsinfo implements java.io.Serializable {

	// Fields

	private Integer newsid;
	private Usersinfo usersinfo;
	private Types types;
	private String title;
	private String content;
	private Integer recommended;
	private Integer click;
	private Timestamp releasetime;
	private String keywords;

	// Constructors

	/** default constructor */
	public Newsinfo() {
	}

	/** minimal constructor */
	public Newsinfo(Usersinfo usersinfo, Types types, String title,
			String content, Integer recommended) {
		this.usersinfo = usersinfo;
		this.types = types;
		this.title = title;
		this.content = content;
		this.recommended = recommended;
	}

	/** full constructor */
	public Newsinfo(Usersinfo usersinfo, Types types, String title,
			String content, Integer recommended, Integer click,
			Timestamp releasetime, String keywords) {
		this.usersinfo = usersinfo;
		this.types = types;
		this.title = title;
		this.content = content;
		this.recommended = recommended;
		this.click = click;
		this.releasetime = releasetime;
		this.keywords = keywords;
	}

	// Property accessors

	public Integer getNewsid() {
		return this.newsid;
	}

	public void setNewsid(Integer newsid) {
		this.newsid = newsid;
	}

	public Usersinfo getUsersinfo() {
		return this.usersinfo;
	}

	public void setUsersinfo(Usersinfo usersinfo) {
		this.usersinfo = usersinfo;
	}

	public Types getTypes() {
		return this.types;
	}

	public void setTypes(Types types) {
		this.types = types;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getRecommended() {
		return this.recommended;
	}

	public void setRecommended(Integer recommended) {
		this.recommended = recommended;
	}

	public Integer getClick() {
		return this.click;
	}

	public void setClick(Integer click) {
		this.click = click;
	}

	public Timestamp getReleasetime() {
		return this.releasetime;
	}

	public void setReleasetime(Timestamp releasetime) {
		this.releasetime = releasetime;
	}

	public String getKeywords() {
		return this.keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

}